home *** CD-ROM | disk | FTP | other *** search
/ CD School House 9 / CD School House 9.0 - Wayzata Technology (1994).iso / pc / dos / teachaid / grades27 / go.bat < prev    next >
DOS Batch File  |  1994-02-25  |  990b  |  42 lines

  1. echo off
  2. cls
  3. :START
  4. sask "Do you wish to (I)nstall or (R)ead the Read.me file first?" ir
  5. if ERRORLEVEL=99 goto DONE
  6. if ERRORLEVEL=2 goto READ
  7. install
  8. readme
  9. goto MORE
  10. :READ
  11. readme
  12. install
  13. :MORE
  14. cls
  15. sask "Are you are user of Grades v2.60? (Y/N)" yn
  16. if ERRORLEVEL=99 goto DONE
  17. if ERRORLEVEL=2 goto CONT
  18. sask "Is CLASS26 in the current directory? (Y/N)" ny
  19. if ERRORLEVEL=99 goto DONE
  20. if ERRORLEVEL=2 goto RENAME
  21. echo 
  22. echo Please move into the proper directory or type EXIT if you do not
  23. echo wish to continue. If you do not continue, you must manually rename
  24. echo CLASS26 to CLASS27.
  25. command
  26. :RENAME
  27. ren class26 class27
  28. if exist class27  goto CONT
  29. :ERROR
  30. echo Could not Rename file... you must manually rename it!
  31. :CONT
  32.  
  33. echo Installation has completed. Please read the documentation or press F1
  34. echo for help within the program itself.
  35.  
  36. sask "(S)tart Grades or (Q)uit?" sq
  37. if ERRORLEVEL=99 goto DONE
  38. if ERRORLEVEL=2 goto DONE
  39. grades27
  40. :DONE
  41. echo on
  42.